package com.hktf.corelib.eventBus;

public class LoginEvent {
    public static final int LOGIN_SUCCESS=0x01;
    public static final int CHANGE_MOBILE_SUCCESS=0x02;//更换手机号
    public static final int GET_CODE_SUCCESS=0x03;//获取微信授权码成功
    public static final int CHANGE_USERINFO=0x04;//用户信息发生变化
    public static final int LOGIN_OUT=0x05;//退出登录
    public static final int CHANGE_ASSISTANT=0x06;//助手列表发生变化
    private int event_id;
    private Object data;
    private String code;

    public LoginEvent() {
    }

    public LoginEvent(int event_id) {
        this.event_id = event_id;
    }

    public LoginEvent(int event_id, String code) {
        this.event_id = event_id;
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public int getEvent_id() {
        return event_id;
    }

    public void setEvent_id(int event_id) {
        this.event_id = event_id;
    }
}
